package com.wl.service;

import com.wl.model.NewsCategory;

import java.util.List;

public interface CategoryService {

    List<NewsCategory> list(String title, Long id);

    NewsCategory findById(Long id);

    void delById(Long id);

    void updateById(NewsCategory category);

    void add(NewsCategory category);
}
